#include "rule.h"
#include "coordinate.h"
#include "nbmask.h"
#include "ca.h"


using namespace std;

int main (void)
{
	NBMask nm1(1);
	//cout << nm1 << endl;
	//Coordinate c1(3,4);
	//cout << c1 << endl;
	//vector<int> vi;
	//vi.push_back(0);
	//vi.push_back(1);
	//Rule<int> r1(vi, 0);
	Rule<int> r2(1,1,0,1,0,1,0,0,0,ENDOFPARAMS);
	Rule<int> r3(OUTOFBORDER,OUTOFBORDER,OUTOFBORDER,  0,0,0,   0,0,0,   1,ENDOFPARAMS); 
	RuleSet<int> rs1;
	rs1.addRule(r2);
	CA<int> myCA(rs1,nm1);
	//cout << r1 << endl << r2 << endl;
	return 0;
}